package com.ellecity06.debugtools.db.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @author ellecity06
 * @time 2023/4/19 15:45
 * @des
 */
@Entity

data class RequestEntity(
    var url: String? = null,
    var host: String? = null,
    var path: String? = null,
    var query: String? = null,
    var method: String? = null,
    var requestHeader: String? = null,
    var responseHeader: String? = null,
    var requestBody: String? = null,
    var decryptRequestBody: String? = null,
    var responseBody: String? = null,
    var decryptResponseBody: String? = null,
    var mediaType: String? = null,
    var contentLength: Long? = null,
    var decryptContentLength: Long? = null,
    var code: Long? = null,
    var sentRequestAtMillis: Long? = null,
    var receivedResponseAtMillis: Long? = null,
    var errorMessage: String? = null,
    @PrimaryKey var id: Int? = null,
)